package com.todod.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.todod.model.RoleAuthority;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author gsh
 * @since 2020-11-24
 */
public interface IRoleAuthorityService extends IService<RoleAuthority> {

	List<RoleAuthority> getRoleAuthority(Long roleId);

	void deleteByAuthorityId(Long authorityId);

	void saveData(Long _userId, Long roleId, List<RoleAuthority> roleAuthoritys);

	void deleteByRoleId(Long roleId);

}
